﻿using _8Group.MES.ISongService.WMProductRecpt.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.ISongService.WMProductRecpt
{
    public interface IWmProductRecptService: IApplicationService
    {
        /// <summary>
        /// 获取产品入库列表
        /// </summary>
        /// <param name="productRecptDTO"></param>
        /// <returns></returns>
        Task<object> GetProductRecptListAsync(RequestWmProductRecptDTO productRecptDTO);

        /// <summary>
        /// 新增产品入库
        /// </summary>
        /// <param name="createWmProductRecptDTO"></param>
        /// <returns></returns>
        Task<bool> AddProductRecptAsync(AddWmProductRecptDTO createWmProductRecptDTO);

        /// <summary>
        /// 删除产品入库
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteProductRecptAsync(int id);

        /// <summary>
        /// 更新产品入库
        /// </summary>
        /// <param name="updateWmProductRecptDTO"></param>
        /// <returns></returns>
        Task<bool> UpdateProductRecptAsync(UpdateWmProductRecptDTO updateWmProductRecptDTO);

        /// <summary>
        /// 更新产品入库状态
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> UpdateProductRecptStatusAsync(int id);
    }
}
